// 导出路由规则
import Layout from '@/layout'

export default {
  path: '/System',
  name: 'System',
  component: Layout, // 给路由规则加名字
  redirect: '/System', // 组件
  meta: {
    title: '系统设置',
    icon: 'set'
  },
  // 配置二级路由表
  children: [{
    path: 'jingang',
    name: 'jingang',
    component: () => import('@/views/System/jingang'),
    meta: { title: '金刚区管理', noCache: true }
  }, {
    path: 'banner',
    name: 'banner',
    component: () => import('@/views/System/banner'),
    meta: { title: '广告管理', noCache: true }
  }, {
    path: 'city',
    name: 'city',
    component: () => import('@/views/System/city'),
    meta: { title: '城市配置', noCache: true }
  }, {
    path: 'freight',
    name: 'freight',
    component: () => import('@/views/System/freight'),
    meta: { title: '配送方式', noCache: true }
  }, {
    path: 'paySet',
    name: 'paySet',
    component: () => import('@/views/System/paySet'),
    meta: { title: '支付设置', noCache: true }
  }, {
    path: 'hotSearch',
    name: 'hotSearch',
    component: () => import('@/views/System/hotSearch'),
    meta: { title: '热门搜索', noCache: true }
  }, {
    path: 'smsModel',
    name: 'smsModel',
    component: () => import('@/views/System/smsModel'),
    meta: { title: '短信配置', noCache: true }
  }, {
    path: 'adminset',
    name: 'adminset',
    component: () => import('@/views/System/adminset'),
    meta: { title: '基础设置', noCache: true }
  }, {
    path: 'journalLog',
    name: 'journalLog',
    component: () => import('@/views/System/journalLog'),
    meta: { title: '操作日志', noCache: true }
  }]
}
